import request from "@/utils/request";

// 应付单列表
export function Info(id) {
    return request({
        url: `/expense/main/${id}`,
        method: "get",
    });
}

export function BusinessType(query) {
    return request({
        url: "/expense/main/getBusinessType",
        method: "get",
        params: query,
    });
}
export function Details(id) {
    return request({
        url: "/expense/main/" + id,
        method: "get",
    });
}

export function Audit(data) {
    return request({
        url: "/expense/main/audit",
        method: "post",
        data,
    });
}
